<template>
  <div class="dashboard-container">
    <div class="app-container">
      <h2>
        首页
      </h2>
      <my-data firstname="张" lastname="三">
        <template v-slot="{info}">
          <div>姓名{{ info.fname+info.lname }}</div>
        </template>
      </my-data>
    </div>
  </div>
</template>

<script>
import MyData from './components/MyDate.vue'
export default {
  name: 'Dashboard',
  components: {
    MyData
  }

}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
.eye-cls {
  color: skyblue;
}
</style>
